home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-17 / czcm11b.zip / CZCOMMOD.DOC < prev    next >
Text File  |  1990-12-12  |  7KB  |  182 lines

  1.                         CZCOMMOD version 1.1 beta
  2.                                                                  12/12/90
  3.  
  4. I got tired of all the clumsy commport drivers that were around.
  5. Not a single one that *I* found would allow various mixes of
  6. different commports or "skipping" (i.e. COM1,3,4). Sooooo...
  7. I sat down one evening and wrote CZCOM.SYS and CZMOD.COM.
  8.  
  9. These two serial port utilities enable COM3 and COM4 to perform the
  10. same functions as COM1 and COM2.  One is CZCOM.SYS, a driver.  The
  11. other is CZMOD.COM, a utility program which replaces DOS MODE.COM/EXE.
  12.  
  13.  
  14. 1.   CZCOM
  15.     
  16.      CZCOM is a device driver that initializes two devices,
  17.      COM3 and COM4, for serial ports on your I/O Card.  After
  18.      CZCOM has been executed, you can gain access to these
  19.      serial ports by simply entering the names COM3 and COM4.
  20.  
  21.      Before installing CZCOM, please set your I/O Card's serial
  22.      ports to COM3 and COM4.  If the system fails to "see" these
  23.      COM ports, the following message will appear on the screen:
  24.  
  25.      "Can not find device COMn"  (where "n" is comport number)
  26.  
  27.      Installation is easy.  Simply include "DEVICE=[dr:\DIR\]CZCOM.SYS"
  28.      in your CONFIG.SYS file (without the quotes, of course).  You may
  29.      have to define a [path] depending on where you keep CZCOM.SYS.
  30.  
  31.      If your boot diskette or current working drive does not have a
  32.      CONFIG.SYS device, create one which includes the DEVICE= line.
  33.  
  34.      reboot your system by pressing the RESET buttom; simultaneously
  35.      pressing CTRL, ALT and DEL; or turning the power off and on. If
  36.      COM3 or COM4 ports exist, then the following messages will appear
  37.      on the screen:
  38.  
  39.     Device COM3 is installed.
  40.     Parameters set to 2400,n,8,1
  41.     Device COM4 is installed.
  42.     Parameters set to 2400,n,8,1
  43.  
  44. NOTE:  CZCOM DEFAULT SETS COM3 AND COM4 COMMUNICATION PARAMETERS
  45.        TO BAUD RATE 2400, NO PARITY, 8 DATA BITS AND 1 STOP BIT.
  46.        These parameters can be changed using CZMOD.COM as will be
  47.        explained later.
  48.  
  49.      If COM3 and COM4 ports do not exist, then the following
  50.      messages will appear on the screen:
  51.  
  52.     Can not find device COM3.
  53.     Can not find device COM4.
  54.  
  55.  
  56. 2.   CZMOD COMMAND
  57.  
  58.      The utility programm, CZMOD.COM, sets options for an
  59.      asynchronous communications adapter.  The CZMOD.COM also
  60.      enables printer output to be routed to an asynchronous
  61.      communications adapter or to another printer port (LPT).
  62.  
  63.  
  64. 2.1  Setting Parameters
  65.  
  66.      The command format for setting the options of an asynchronous
  67.      communications adapter is listed below.
  68.  
  69.     CZMOD COMn:baud[,parity[,data bits[,stop bits[,p]]]]
  70.           
  71.      The variable "n" can be 1, 2, 3 or 4 designating the number 
  72.      of the asynchronous communications adapter.
  73.  
  74.      The protocol parameters used to initialize the asynchronous
  75.      communications adapter can be set by replacing the bracketed
  76.      items with specific characters.  These parameters and the
  77.      specific characters are listed below.
  78.  
  79.     Baud Rate: Enter 50, 75, 110, 134.5, 150, 300, 600, 1200,
  80.                    1800, 2000, 2400, 3600, 4800, 7200, 9600, or 19200.
  81.  
  82.                    (The default setting is 2400)
  83.  
  84.      NOTE: ONLY THE FIRST TWO CHARACTERS ARE REQUIRED, SUBSEQUENT
  85.            CHARACTERS ARE IGNORED.  FOR EXAMPLE, IF THE COMMAND
  86.            FORMAT WAS "CZMOD COM3: 12,2", THE MODE OF OPERATION
  87.            WOULD BE 1200 BAUD RATE, EVEN PARITY (default), DATABIT
  88.            7 (default), AND STOPBIT 2. ANY PARAMETERS OMITTED WOULD
  89.            REVERT TO DEFAULT SINCE NO CHARACTERS WERE ENTERED.
  90.  
  91.     Parity:        Enter N (None), O (Odd), E (Even), M (Mark),
  92.                         or S (Space).
  93.                          
  94.                         The default setting is E.
  95.  
  96.     Databits:    Enter 5, 6, 7 or 8.
  97.  
  98.             The default setting is 7.
  99.  
  100.     Stopbits:    Enter either 1 or 2.
  101.  
  102.             The default setting is 2 if the baud rate
  103.                         is less than or equal to 110.
  104.  
  105.                         The default setting is 1 if the baud rate
  106.                         is greater than 110.
  107.  
  108.      The "P" option indicates that the asynchronous adapter is 
  109.      being used for a serial interface printer.  If you enter the 
  110.      "P", time-out errors are continously retried.  You can stop
  111.      the retry loop by pressing Ctrl-Break.  To stop the time-out
  112.      errors from being continously retried when you have entered     
  113.      "P", you must reinitialize the asynchronous adapter without
  114.      entering the "P". Including the P parameter allows CTL-Break
  115.      to react immediately. Without P, "break" will not occur until
  116.      the printer buffer has emptied.
  117.  
  118.  
  119. 2.2  Routing Printer Output
  120.  
  121.      The command formats for directing parllel printer output to   
  122.      an asynchronous communications adapter (serial port) or to
  123.      another printer are listed below.
  124.  
  125.     CZMOD LPT#: = COMn
  126.  
  127.     CZMOD LPT#: = LPT$
  128.  
  129.      There are three variables in this command format:
  130.  
  131.         The variable "#" can be 1, 2, or 3 designating the printer port
  132.         (LPT) number.
  133.  
  134.         The variable "n" can be 1, 2, 3 or 4 designating the asynchronous
  135.         communications adapter (COM).
  136.  
  137.         The variable "$" can be 1, 2, or 3 designating another printer port.
  138.  
  139.      All output direct to the printer LPT# is redirected to the asynchronous
  140.      adapter n (COMn), or to another printer $.
  141.      Another format, CZMOD LPT#: = LPT#, disables any redirection to the
  142.      printer designated by the "#".
  143.  
  144.      Before you can use the CZMOD to redirect the parallel printer
  145.      output to a serial device, you must initialize the asynchronous
  146.      communications adapter by using the CZMOD COMn format described 
  147.      in Section 2.1 Setting Parameters.  If that serial device is a
  148.      printer, your seial initialization command should also include
  149.      the "P" parameter.
  150.  
  151.      NOTE: WHEN USED IN THE CZMOD COMn FORMAT WITH THE "P" OPTION, OR
  152.            IN THE CZMOD LPT#: = COMn OR CZMOD LPT#: = LPT$, THE CZMOD 
  153.            COMMAND CAUSES THE PRINTER AND ASYNCHRONOUS COMMUNICATIONS
  154.            ADAPTER INTERCEPT CODE TO BE MADE RESIDENT IN MEMORY.
  155.  
  156.  
  157.                          !! VERY IMPORTANT NOTE !!
  158.  
  159.     On some machines less than 100% IBM compatable, CZMOD.COM parameters
  160.     may tend to "stick". If this occurs, reboot your CPU "COLD" (turn it
  161.     OFF and then ON with the power switch) to reset CZCOM.SYS defaults !
  162.  
  163.  
  164. 3.   DISCLAIMER
  165.  
  166.      Both CZCOM.SYS and CZMOD.COM have been tested extensively with no
  167.      injurious results to hardware or neighboring software.  But they 
  168.      are provided strictly "as is", and any damage resulting from their
  169.      installation and /or use is strictly the responsibility of the user.
  170.      The author makes no claims of guarantee or warranty of any kind.
  171.  
  172. 4.   LEGALESE
  173.  
  174.      The author hereby donates CZCOM.SYS & CZMOD.COM to the public domain.
  175.      Any problems, questions, suggestions may be deposited in the nearest
  176.      file-13.  Any compliments, thank-yous, or monetary gratuities may be
  177.      forwarded to:
  178.  
  179.                                  Cap'n Chris
  180.                                  LIBERTY BBS
  181.                                 (313)792-4911
  182.